﻿using System;
using System.Collections.Generic;
using System.Text;

namespace SocialIn.Core.Data
{
    public sealed class Result<T>
    {
        private bool _Completed;
        public bool Completed
        {
            get { return _Completed; }
            set { _Completed = value; }
        }

        private string _Message;

        public string Message
        {
            get { return _Message; }
            set { _Message = value; }
        }

        private Exception _Error;
        public Exception Error
        {
            get { return _Error; }
            set { _Error = value; }
        }

        private T _ReturnValue;
        public T ReturnValue
        {
            get { return _ReturnValue; }
            set { _ReturnValue = value; }
        }
    }
}
